package com.his.outpatientvisit.service;


import com.his.config.annotation.CurrentUser;
import com.his.login.entity.DictEmployee;
import com.his.outpatientvisit.entity.PatiOutVisit;
import com.his.outpatientvisit.entity.PatiOutVisitStatementList;
import com.his.outpatientvisit.vo.PatiOutVisitVo;
import java.util.List;


public interface PatiOutVisitService {

    /**
     * 新增门诊挂号
     * @param patiOutVisitVo ,employee
     */
    String insertPatiOutVisit(DictEmployee employee,PatiOutVisitVo patiOutVisitVo) throws Exception;

    /**
     * 退号
     * @param patiOutVisitVo
     */
    void updatePatiOutVisit(DictEmployee employee,PatiOutVisitVo patiOutVisitVo);

    /**
     * 查询挂号列表
     * @param patiOutVisitVo
     */
    List<PatiOutVisit> selectPatiOutVisitList(PatiOutVisitVo patiOutVisitVo) throws Exception;

    /**
     * 查询挂号统计列表
     * @param employee
     */
    List<PatiOutVisitStatementList> selectPatiOutVisitStatementList(DictEmployee employee) ;
    
    /* 
     * 
     * 查询排队序号
     * [patiOutVisitVo] 
     * @return java.lang.String
     * @date 2020/3/24 11:11
     */
    Integer selectPatiOutVisitSerialNo(DictEmployee employee,PatiOutVisitVo patiOutVisitVo) throws Exception;
    
    /* 
     * 
     * 接诊病人
     * [patiOutVisitVo] 
     * @return void
     * @date 2020/3/26 15:10
     */
    void receivepati(DictEmployee employee,PatiOutVisitVo patiOutVisitVo) throws Exception;

    /*
     *
     * 取消接诊
     * [patiOutVisitVo]
     * @return void
     * @date 2020/3/26 15:10
     */
    void receivepati_canc(DictEmployee employee,PatiOutVisitVo patiOutVisitVo);

}
